package com.hegongda.service;

import com.hegongda.bean.Cart;
import com.hegongda.bean.Orders;
import com.hegongda.bean.PageBean;
import com.hegongda.bean.User;

public interface OrderService {
    public void addOrders(Cart cart, User user,String oid);
    public PageBean<Orders> getAllOrder(String uid, int pageSize, int pagenum);
    public Orders getOneOrder(String oid);
    public void updateOrderState(String oid,int state);
    public void updateOrder(String name,String address,String telephone,String oid);
    public int delOrder(String oid);
}
